package com.cskaoyan.bean.vo.vxVo.cartVo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @projectName: seeonproject1
 * @package: com.cskaoyan.bean.vo.vxVo.topic
 * @className: CartCheckOutData
 * @author: YangDongpeng
 * @description:
 * @date: 2022/6/9 20:51
 * @version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CartCheckOutData {

    private int grouponRulesId;
    private int actualPrice;
    private int orderTotalPrice;
    private int cartId;
    private int userCouponId;
    private int couponId;
    private int goodsTotalPrice;
    private int addressId;
    private int grouponPrice;
    private CheckedAddress checkedAddress;
    private int couponPrice;
    private int availableCouponLength;
    private int freightPrice;

    private List<CheckedGoodsList> checkedGoodsList;

    public CartCheckOutData(int grouponRulesId, int actualPrice, int orderTotalPrice, int cartId, int userCouponId, int couponId, int goodsTotalPrice, int addressId, int grouponPrice, int couponPrice, int availableCouponLength, int freightPrice) {
        this.grouponRulesId = grouponRulesId;
        this.actualPrice = actualPrice;
        this.orderTotalPrice = orderTotalPrice;
        this.cartId = cartId;
        this.userCouponId = userCouponId;
        this.couponId = couponId;
        this.goodsTotalPrice = goodsTotalPrice;
        this.addressId = addressId;
        this.grouponPrice = grouponPrice;
        this.couponPrice = couponPrice;
        this.availableCouponLength = availableCouponLength;
        this.freightPrice = freightPrice;
    }

    public CartCheckOutData(CheckedAddress checkedAddress) {
        this.checkedAddress = checkedAddress;
    }
}
